package com.meirengu.webview.service;

import com.meirengu.service.BaseService;
import com.meirengu.webview.model.KwXbbFilter;
import com.meirengu.webview.model.LmUser;
import com.meirengu.webview.model.User;
import com.meirengu.webview.model.UserInfo;

/**
 * KwXbbFilter服务接口
 *
 * @author Mao
 * @create Fri May 04 15:38:46 CST 2018
 */
public interface KwXbbFilterService extends BaseService<KwXbbFilter> {

    /**
     * 发送新贝接口
     *
     * @param userInfo
     * @param user
     */
    boolean sendXbb(UserInfo userInfo, User user) throws Exception;

    /**
     * 新贝发平安接口
     *
     * @param userInfo
     * @param user
     * @return
     * @throws Exception
     */
    boolean sendXbbForPingan(UserInfo userInfo, User user) throws Exception;

    /**
     * 发送新贝3接口
     *
     * @param userInfo
     * @param user
     */
    boolean sendXbb3(UserInfo userInfo, User user) throws Exception;


    /**
     * 第三方渠道发送接口
     *
     * @param lmUser
     * @return
     * @throws Exception
     */
    boolean sendXbb3ByModel(LmUser lmUser) throws Exception;

    /**
     * 第三方数据发送新旦
     *
     * @param lmUser
     * @return
     * @throws Exception
     */
    boolean sendMdzjXbb(LmUser lmUser) throws Exception;
}
